package com.tamecode.applicationcontext;

import com.tamecode.reflect.Car;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author: Liqc
 * @Date: 2022/6/18 22:17
 */
public class ApplicationContextTest {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("classpath:beans.xml");
        Car bean = context.getBean(Car.class);
        bean.introduce();
    }
}
